package net.jiastudy.biz.datasync;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class TaskImporter implements Serializable, IExcelModel, IExcelDataModel {
    /**
     *
     */
    private static final long serialVersionUID = 9173351845179152589L;
    @Excel(name="任务年度")
    private String year;
    @Excel(name="党政要点下达部门")
    private String firstTaskDeptName;
    @Excel(name="党政要点")
    @NotNull(message = "党政要点不能为空")
    private String firstTask;
    @Excel(name="一级任务")
    @NotNull(message = "一级任务不能为空")
    private String secondTask;
    @Excel(name="考核要素")
    private String assessmentElements;
    @Excel(name="考核标准")
    private String assessmentStandard;
    @Excel(name="任务下达部门")
    private String originatedDeptName;
    @Excel(name="任务接收部门")
    private String receiveDeptName;
    @Excel(name="权重")
    private Double weight;

    private String errorMsg;

    private int rowNum;

    public String getFirstTaskDeptName() {
        return firstTaskDeptName;
    }

    public void setFirstTaskDeptName(String firstTaskDeptName) {
        this.firstTaskDeptName = firstTaskDeptName;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    @Override
    public String getErrorMsg() {
        return errorMsg;
    }

    @Override
    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    @Override
    public int getRowNum() {
        return rowNum;
    }

    @Override
    public void setRowNum(int rowNum) {
        this.rowNum = rowNum;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getFirstTask() {
        return firstTask;
    }

    public void setFirstTask(String firstTask) {
        this.firstTask = firstTask;
    }

    public String getSecondTask() {
        return secondTask;
    }

    public void setSecondTask(String secondTask) {
        this.secondTask = secondTask;
    }

    public String getAssessmentElements() {
        return assessmentElements;
    }

    public void setAssessmentElements(String assessmentElements) {
        this.assessmentElements = assessmentElements;
    }

    public String getAssessmentStandard() {
        return assessmentStandard;
    }

    public void setAssessmentStandard(String assessmentStandard) {
        this.assessmentStandard = assessmentStandard;
    }

    public String getOriginatedDeptName() {
        return originatedDeptName;
    }

    public void setOriginatedDeptName(String originatedDeptName) {
        this.originatedDeptName = originatedDeptName;
    }

    public String getReceiveDeptName() {
        return receiveDeptName;
    }

    public void setReceiveDeptName(String receiveDeptName) {
        this.receiveDeptName = receiveDeptName;
    }
}
